package com.ruoyi.business.payment.vo;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 退款申请
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
public class TRegisterRefundApplyDto {

    @NotNull(message = "订单id不能为空")
    Long orderId;

    @NotNull(message = "退款金额不能为空")
    BigDecimal refundAmount;

//    @NotBlank(message = "退款原因不能为空")
    String refundReason;

}
